package cn.wolfcode.car.mapper;

import cn.wolfcode.car.domain.Salary;
import cn.wolfcode.car.qo.SalaryDetailQueryObject;
import cn.wolfcode.car.qo.SalaryQueryObject;
import cn.wolfcode.car.vo.BusinessReportVO;
import cn.wolfcode.car.vo.SalaryReprotVo;
import cn.wolfcode.car.vo.SalaryVO;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface SalaryMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Salary record);

    Salary selectByPrimaryKey(Long id);

    List<Salary> selectAll();

    int updateByPrimaryKey(Salary record);

    List<Salary> selectForPage(SalaryQueryObject qo);


    List<SalaryReprotVo> selectByGroup(SalaryDetailQueryObject qo);
}